﻿@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

  <section id="content" role="main">
                <header>
                    <div id="proj-config-return-link" class="ops-cont">
        <ul class="ops">
            <li>
                <a id="back-lnk" class="back-to-proj-config button first last" href="/plugins/servlet/project-config/AN/summary"><span class="icon icon-back"><span>Back to project: Angel</span></span>Back to project: Angel</a>
            </li>
        </ul>
    </div>
<h1 id="admin-page-heading">Roles</h1>
                </header>
            
            <div class="content-container">
                

                <div class="content-body aui-panel">

<form action="DeleteProjectRole.jspa" method="post" name="jiraform" onsubmit="if (this.submitted) return false; this.submitted = true; return true"  >

	
	<table class="jiraform maxWidth" 
    >
	

	
	<tr class="titlerow">
		<td colspan="1" class="jiraformheader">

            <a class="help-lnk" href="https://docs.atlassian.com/jira/docs-051/Managing+Project+Roles#Deleting+a+project+role" target="_jirahelp">
            <img src="/s/en_US-vj4gfy/782/3/_/images/icons/ico_help.png" width="16" height="16" align=right
            border="0" alt="Get help!"
            title="Get online help about Managing Project Roles"/></a>
        <h3 class="formtitle">Delete Project Role: Administrators</h3>
        
        </td>
	</tr>
	
	
	<tr class="descriptionrow">
		<td colspan="1" class="jiraformheader">
            <div class="desc-wrap">
        <p>Are you sure you would like to delete project role <strong>Administrators</strong>?
        </p>

<div class="aui-message warning"><span class="aui-icon icon-warning"></span>NOTE: Deleting this project role will delete it from all projects and schemes.</div>
    </div>
        </td>
	</tr>

    <tr>
        <td>
            
<p>
    Project role <strong>Administrators</strong> is used by <strong>2</strong> <strong>permission</strong> schemes:
</p>
<table id="relatedpermissionschemes" class="aui">
    <thead>
        <tr>
            <th>Permission Scheme</th>
            <th>Associated Projects</th>
            <th>Project Role Members Per Project</th>
        </tr>
    </thead>
    <tbody>
                <tr>
                        <td rowspan="1"><a href="/secure/admin/EditPermissions!default.jspa?schemeId=0">Default Permission Scheme</a></td>
                    <td>
                        <a href="/plugins/servlet/project-config/AN/summary">Angel</a>
                    </td>
                    <td>
                        1 (<a href="/plugins/servlet/project-config/AN/people">View</a>)
                    </td>
                </tr>

    </tbody>
</table>
        </td>
    </tr>

	<tr class="buttons-container">
    
        <td class="jiraformfooter" >
    
            <div class="buttons-container">
                <div class="buttons">
                    @Html.ActionLink("Delete", "Delete", "Role", new { @class = "aui-button" })
                    @Html.ActionLink("Cancel", "Index", "Role", new { id = "cancelButton", @class = "aui-button-cancel" })
                </div>
            </div>
		</td>
	</tr>

	</table>
</form>

                </div>
            </div>
        
    </section>